<?php
require_once dirname(dirname(__FILE__)) . '/shared/config/config.php';
require_once DOCUMENT_ROOT . DIR_INCLUDE . 'html_generator.php';
require_once DOCUMENT_ROOT . DIR_SHARED_API . 'api_users.php';
$user_id = filter_input(INPUT_POST, "user_id");

$balance = api_users::get_user_balance_by_user_id($user_id);
echo $balance;